ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / ShowErrors Property






In This Topic
    ShowErrors Property (FlexGridBase<T>)
    In This Topic
    Gets or sets a value that determines whether the grid should add the 'wj-state-invalid' class to cells that contain validation errors, and tooltips with error descriptions.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Overridable Property ShowErrors As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.ShowErrors = value
     
    value = instance.ShowErrors
    [System.ComponentModel.DefaultValue(true)]
    public virtual System.bool ShowErrors {get; set;}
    public read-write property ShowErrors: System.Boolean; virtual; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set ShowErrors : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property virtual System.bool get_ShowErrors();
    public: __property virtual void set_ShowErrors( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    virtual property System.bool ShowErrors {
       System.bool get();
       void set (    System.bool value);
    }
    See Also